Initiates printing of the current web page content.
This method leverages the Android printing framework to allow the user to print the content currently displayed in the GadgetView
. It creates a print job using the application's name combined with "Document" as the job title.
Important: This functionality is only available on Android KitKat (API level 19) and newer. Calling this method on earlier API levels will log a warning and return without performing any action.
The method retrieves the system PrintManager, creates a PrintDocumentAdapter (using createPrintDocumentAdapter for API 21+ or createPrintDocumentAdapter for API 19-20), and then initiates a print job.